home *** CD-ROM | disk | FTP | other *** search
/ BCI NET 2 / BCI NET 2.iso / archives / utilities / shell / rdel36_2.lha / rdel.doc next >
Encoding:
Text File  |  1995-03-18  |  2.7 KB  |  75 lines

  1. NAME
  2.  
  3.    rdel 36.2 (18.3.95)
  4.  
  5.  
  6. COPYRIGHT
  7.  
  8.    This program is Copyright (c) 1995 Ralph Seichter, all rights reserved.
  9. You may however freely use it and give copies to your friends, as long as
  10. you don't add data to or remove data from the distribution archive. You may
  11. *NOT* include any part of the distribution archive in a commercial software
  12. package. If you want to contact me, write to <zodiac@darkness.gun.de>.
  13.  
  14.  
  15. PURPOSE
  16.  
  17.    Recursively scans a directory (or a list of directories) for files which
  18. match a given AmigaDOS pattern. Files can be deleted and/or displayed in
  19. the current CLI window. 'rdel' will always scan the complete subdirectory
  20. tree if you don't specify a maximum scan depth. Only files will be deleted,
  21. all directories remain untouched. Please note that 'rdel' is pure, you can
  22. thus make it resident.
  23.  
  24.  
  25. A WORD OF WARNING
  26.  
  27.    This program was designed to delete files, always keep that in mind!
  28. Toying with the wrong patterns in the wrong directories can be fatal. If
  29. you type "rdel sys: #? force", you'll get what you asked for.
  30.  
  31.  
  32. USAGE
  33.  
  34.    The supported command line parameters are:
  35.  
  36.       DIRECTORY/A/M    Directory (or directories) to scan.
  37.  
  38.       PATTERN/A        AmigaDOS pattern (i.e. "#?.info).
  39.  
  40.       DEPTH/K/N        Maximum scan depth. Depth 0 is the directory which
  41.                        was specified, depth 1 contains the first level of
  42.                        subdirectories, depth 2 the second, and so on.
  43.  
  44.       FORCE/S          Override delete protection flags.
  45.  
  46.       PRTONLY/S        Print file names only, do not delete. This option
  47.                        overrides QUIET.
  48.  
  49.       QUIET/S          Don't print anything.
  50.  
  51.    Never ever try to run 'rdel' from Workbench! Depending on the directory
  52. structure, 'rdel' may require significant amounts of stack, so if it should
  53. ever crash, increase the stack size and try again. In most cases, however,
  54. the standard 4 KB are sufficient. 'dos.library' V36 (OS 2.x or better) is
  55. required.
  56.  
  57.  
  58. EXAMPLE
  59.  
  60.    Imagine you'd like to remove all icon files from your Work: and FooBar:
  61. partitions. A simple "rdel Work: FooBar: #?.info" will do the job. If you
  62. want to get a list of all the files on your SYS: partition which have the
  63. string "pref" in their name, use "rdel SYS: #?pref#? prtonly".
  64.  
  65.  
  66. DISCLAIMER
  67.  
  68.    THIS MATERIAL IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER
  69. EXPRESS OR IMPLIED, STATUTORY OR OTHERWISE, INCLUDING WITHOUT LIMITATION
  70. ANY IMPLIED WARRANTIES OF NONINFRINGEMENT, MERCHANTABILITY AND FITNESS FOR
  71. A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE USE, RESULTS, AND
  72. PERFORMANCE OF THIS MATERIAL IS ASSUMED BY YOU AND IF THE PRODUCT SHOULD
  73. PROVE TO BE DEFECTIVE, YOU ASSUME THE ENTIRE COST OF ALL NECESSARY
  74. SERVICING, REPAIR, OR OTHER REMEDIATION.
  75.